package com.leyou.common.auth.entity;

import lombok.Data;

import java.util.Date;
/// TODO 存放载荷对象
@Data
public class Payload<T> {
    private String id;// tokenID
    private T userInfo;// 携带的数据
    private Date expiration;// 设置有效时间
}